package belf.migrate.engine.job.model.verify;

import lombok.Data;

import java.util.HashSet;
import java.util.Set;

@Data
public class VerifyColResult {

    private String sourceColName;

    private String sinkColName;

    private String sourceColType;

    private String sinkColType;

    private String sourceComment;

    private String sourceColSize;

    private String sinkColSize;

    private boolean dataEqual = true;

    private boolean success = true;

    private Set<String> statue;

    public void addStatue(String status) {
        if (this.statue == null) {
            this.statue = new HashSet<>();
        }
        this.statue.add(status);
    }
}
